Bookly\Lib\Base\Gateway B

Total Complexity 79
Dependencies 24
Dependents 3
Total lines 474
Lines of code 267
Logical lines of code 147
Comment lines 111
Methods 27
Properties 5

Methods 27

Method Rating Maintainability Complexity Lines of code
complete()
B
40 21 51
retrieve()
A
46 10 36
fail()
S
52 6 22
createIntent()
S
54 5 22
removeCascade()
S
60 4 13
refund()
S
56 3 18
getMetaData()
S
64 4 9
getResponseUrl()
S
55 2 20
createCheckout()
S
63 2 11
createPayment()
S
66 2 9
validatePaymentData()
S
76 2 3
applyCode()
S
69 2 7
getCodes()
S
68 2 7
__construct()
S
75 1 4
retrieveStatus()
S
100 1 0
getType()
S
82 1 3
getPayment()
S
82 1 3
setPayment()
S
77 1 4
isOnSite()
S
82 1 3
createGatewayIntent()
S
100 1 0
getCheckoutUrl()
S
100 1 0
getInternalMetaData()
S
100 1 0
refundPayment()
S
78 1 3
getWebHookUrl()
S
64 1 10
getGatewayAmount()
S
81 1 3
getGatewayTax()
S
81 1 3
getOrder()
S
82 1 3